package grape.attend.rest.user.mapper;

import grape.attend.service.user.po.UserOvertime;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.attend.rest.user.form.UserOvertimeCreateForm;
import grape.attend.rest.user.form.UserOvertimeUpdateForm;
import grape.attend.rest.user.form.UserOvertimeListPageForm;
import grape.attend.rest.user.vo.UserOvertimeVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 用户加班表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-05-18
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface UserOvertimeWebMapper extends WebMapper<UserOvertimeVo, UserOvertime> {

    UserOvertime formToPo(UserOvertimeCreateForm f);
    UserOvertime formToPo(UserOvertimeUpdateForm f);
    UserOvertime formToPo(UserOvertimeListPageForm f);
}
